package model.service;

import java.util.List;
import model.entity.PhongTro;

public interface PhongTroDAOService {
//    Lay Danh sach Tat ca phong tro

    public List<PhongTro> getAllPhongTro();
//    Lay Danh Sach Phong Tro Theo Tung Quan

    public List<PhongTro> getPhongTrobyQUan(int maquan);
//    Lay Thong Tin cua 1 Phong tro theo maphongtro

    public PhongTro getThongtinPTbyMaPhongTro(int maphongtro);

    public boolean createPhongTro(PhongTro phongTro);
     public boolean editPhongTro(PhongTro phongTro);
    
    public boolean xoa(int maphongtro)throws Exception;
    public boolean update_danhgia(int maphongtro, float danhgia,int songuoidanhgia, String diachiMAC);
}
